package cn.tedu.egmvcboot.mapper;

import cn.tedu.egmvcboot.pojo.entity.Article;
import cn.tedu.egmvcboot.pojo.entity.User;
import cn.tedu.egmvcboot.pojo.vo.ArticleVO;
import cn.tedu.egmvcboot.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    User selectUser(@Param("username") String username, @Param("password") String password);
    int insert(Article article);
    ArticleVO selectArticleById(@Param("id") Integer id);
}
